Example#1: JSON Demo

(CRUD)

JSON Array: delimiters ([]): it is a collection of JSON objects
JSON object: delimiters ({}): it is a collection of key/value pairs

Third-party library to handle the JSON document

- Built-in data structures offered by the Java language:

Collection ---> interface
The following interfaces were derived from Collection: List, Set, Queue
List can include duplicates and Set cannot

Example#2 (related to the List interface): Linked List Demo
Run-time complexity for methods

Removing an element at index 0 from an ArrayList: O(n) operation with n being the size of the list
n remove operations => O(n^2)
remove(0)

....

remove(0)